﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Reflection;
using System.Drawing.Imaging;

namespace nxt
{
    class nxtMap
    {
        private Point nxtLineX;
        private Point nxtLineY;
        private Point nxtLineX2;
        private Point nxtLineY2;
        public Graphics g;
        
        public nxtMap()
        {
            nxtLineX = new Point(0, 150);
            nxtLineY = new Point(300, 150);
            nxtLineX2 = new Point(130, 300);
            nxtLineY2 = new Point(130, 0);
        }

        public Bitmap Drawing(Bitmap bitmap)
        {
            Bitmap umap = bitmap;
            g = Graphics.FromImage(umap);
            Pen penLine = new Pen(Color.Red,3);
            g.DrawLine(penLine, nxtLineX, nxtLineY);
            g.DrawLine(penLine, nxtLineX2, nxtLineY2);
            
            return umap;
        }


    }
}
